package com.yzh.croom.model.domain;

import java.sql.Time;

public class CourseTime {
    private int timeId;
    private Time begin;
    private Time end;
    private String desc;

    @Override
    public String toString() {
        return "CourseTime{" +
                "timeId=" + timeId +
                ", begin=" + begin +
                ", end=" + end +
                ", desc='" + desc + '\'' +
                '}';
    }

    public int getTimeId() {
        return timeId;
    }

    public CourseTime setTimeId(int timeId) {
        this.timeId = timeId;
        return this;
    }

    public Time getBegin() {
        return begin;
    }

    public CourseTime setBegin(Time begin) {
        this.begin = begin;
        return this;
    }

    public Time getEnd() {
        return end;
    }

    public CourseTime setEnd(Time end) {
        this.end = end;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public CourseTime setDesc(String desc) {
        this.desc = desc;
        return this;
    }
}
